<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<form id="pagerForm" method="post" action="devicemanage">
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="<s:property value="pm.numPerPage"/>" />
	<input type="hidden" name="assetname" value="<s:property value="assetname"/>" />

</form>
<form onsubmit="return dwzSearch(this, 'dialog');" action="Device_List_LookUp" method="post">
<div class="pageHeader">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td align="left">
					设备编号:<s:textfield theme="simple" name="searchDeviceId" ></s:textfield>
				</td>
				<td align="left">
					资产标号:<s:textfield theme="simple" name="searchAssetNumber" ></s:textfield>
				</td>
				<td align="left">
					设备类型:<s:textfield theme="simple" name="searchDeviceType" ></s:textfield>
				</td>
				<td align="left">
					所属实验室:<s:textfield theme="simple" name="searchRoomId" ></s:textfield>
				</td>
				
				<td>
				<div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
				</td>
			</tr>
		</table>
		
	</div>
</div>
<div class="pageContent">
	<table class="table" width="100%" layoutH="138">
		<thead>
		
		    <tr>				
				<th align="center">设备编号</th>
				<th align="center">设备名称</th>
				<th align="center">资产标号</th>
				<th align="center">设备类型</th>
				<th align="center">购置日期</th>
				<th align="center">所属实验室</th>
				<th align="center">单价</th>
				<th align="center">数量</th>
				<th align="center">计量单位</th>
				<th align="center">型号规格</th>
				<th align="center">生产厂家</th>
				<th align="center">设备状态</th>
				<th align="center">录入日期</th>
				<th align="center">操作人员</th>
				<th align="center">备注</th>
				<th align="center">选择</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="pm.list" var="cp">
			        <td align="center"><s:property value="deviceid"/></td>
					<td align="center"><s:property value="assetname"/></td>
					<td align="center"><s:property value="assetnumber"/></td>
					<td align="center"><s:property value="devicetype"/></td>
					<td align="center"><s:property value="buydate"/></td>
					<td align="center"><s:property value="belongroom"/></td>
					<td align="center"><s:property value="price"/></td>
					<td align="center"><s:property value="count"/></td>
					<td align="center"><s:property value="measurunit"/></td>
					<td align="center"><s:property value="model"/></td>
					<td align="center"><s:property value="manufacturer"/></td>
					<td align="center"><s:property value="devstate"/></td>
					<td align="center"><s:property value="enterdate"/></td>
					<td align="center"><s:property value="operator"/></td>
					<td align="center"><s:property value="note"/></td>
					<td align="center">&nbsp;<a class="btnSelect" href="javascript:$.bringBack({
					deviceid:'<s:property value="deviceid"/>', assetname:'<s:property value="assetname"/>'})" title="查找">选择</a></td>
				</tr>
			</s:iterator>	
			
			
			
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>
			<span>条，共${pm.totalCount}条</span>
		</div>
		
		<!--分页组件-->  
		<div class="pagination" targetType="navTab" totalCount="${pm.totalCount}" numPerPage="${pm.numPerPage}" pageNumShown="10" currentPage="${pm.pageNum}"></div>
	</div>
</div>
</form>